.image-thumb__placeholder {
	background-size: cover;
	background-image: url( '/calypso/images/extensions/woocommerce/image-placeholder.png' );
	border: 1px solid var( --color-neutral-0 );
}

.image-thumb {
	display: inline-flex;
	position: relative;
	justify-content: center;
	align-items: center;

	&.hasImage {
		overflow: hidden;
	}

	img {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		top: 0;
		flex: 1;
		margin: auto;
		max-width: 100%;
		max-height: 100%;
	}
}
